@extends('admin.layouts.index')
@section('title', '增值税电子普通发票申请')

@section('content')

<div class="row">
    <div class="col-md-12">
        <form id="comment-form" method="POST" action="{{ URL::current() }}">
            <div class="card">
                <div class="card-body">
                    <div class="m-form-item">
                        <label><b>*</b>公司名称：</label>
                        <div class="m-col-4">
                            <input type="text" class="m-input" name="company_name" placeholder="请输入发票抬头名称" value="{{ isset($invoices->company_name) ? $invoices->company_name : '' }}">
                        </div>
                        @csrf
                        <input type="hidden" name="users_id" value="{{ $users_id }}">
                    </div>
                    <div class="m-form-item">
                        <label><b>*</b>公司税号：</label>
                        <div class="m-col-4">
                            <input type="text" class="m-input" name="company_tax_number" placeholder="请输入公司税号" value="{{ isset($invoices->company_tax_number) ? $invoices->company_tax_number : '' }}">
                        </div>
                    </div>
                    <div class="m-form-item">
                        <label><b>*</b>发票接收邮箱：<font>邮箱收到的是高清无压缩发票原稿</font></label>
                        <div class="m-col-4">
                            <input type="text" class="m-input" name="email" placeholder="请输入发票接收邮箱" value="{{ isset($invoices->email) ? $invoices->email : '' }}">
                        </div>
                    </div>
                    <div class="m-form-item">
                        <label>开票金额：<font>目前只能全部金额开票</font></label>
                        <div class="m-col-2">
                            <input type="text" class="m-input" name="price" placeholder="请输入开票金额" value="{{ $orders }}" disabled>
                        </div>
                    </div>

                    <div class="m-form-item">
                        <div class="m-btn-group">
                            <button class="m-form-btn">立即申请开票</button>
                        </div>
                    </div>
                    <div class="m-info-item">
                        <label>温馨提示：</label>
                        <div class="text">
                            <ul>
                                <li id="notices1">
                                    发票申请提交后会在2个工作日内将开具好的电子发票会发送到您预留的接收邮箱中,届时请注意查收！
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>


@endsection
